package com.catm.haitao;

import android.app.Activity;
import android.os.Bundle;

import com.catm.haitao.service.HTIntentService;
import com.catm.haitao.service.HTPushService;
import com.igexin.sdk.PushManager;

public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        PushManager.getInstance().initialize(this.getApplicationContext(), HTPushService.class);
        PushManager.getInstance().registerPushIntentService(this.getApplicationContext(), HTIntentService.class);
    }
}
